<template>
  <el-button :loading="loading" >
    <!-- <i :class="'iconfont ' + icon"></i> -->
    <!-- <i :class="icon"></i> -->
    {{ label }}
  </el-button>
</template>

<script setup>
defineProps({
  label: {
    default: '',
    required: false
  },
  icon: {
    default: '',
    required: false
  },
  loading: {
    defalut: false
  }
})
</script>
<style scoped lang="scss">
.el-button--warning {
  background: var(--color-primary);
  border-radius: 4px;
}

.el-button.is-plain {
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #5a5e66;
}
</style>
